package com.lxh.libmanager.services;

import com.github.pagehelper.PageInfo;
import com.lxh.libmanager.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface BookServices {
    PageInfo<Book> getBookByPage(Map<String, String> books);

    boolean addBook(Book book);

    Book getBookById(Integer id);

    boolean updateBook(Book book);

    boolean delBook(Integer id);
}
